package com.topnav.mc.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.topnav.mc.validator.group.IDelete;
import com.topnav.mc.validator.group.IUpdate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@TableName("mc_device_position_temp")
@Data
public class DevicePositionTemp {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Date time;

    private Double longitude;

    private Double latitude;
}
